package com.atguigu.eduservice.fallback;

import com.atguigu.commonutils.R;
import com.atguigu.eduservice.client.CommentClient;
import com.atguigu.eduservice.entity.vo.CommentVo;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;

import javax.servlet.http.HttpServletRequest;

/**
 * @author fxy
 * @date 2022/5/15 10:45
 */
@Component
public class CommentFallBackFeignClient implements CommentClient {

    @Override
    public CommentVo getComent(String id) {
        System.out.println("查询失败啦!!!");
        CommentVo commentVo = new CommentVo();
        return commentVo;
    }
}
